/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-10-28
 * Time: 21:17
 */

class MyThread1 implements Runnable {
    @Override
    public void run() {
        System.out.println("hello thread");
    }
}
public class Demo6 {
    public static void main(String[] args) {
        MyThread1 myThread1 = new MyThread1();
        Thread t = new Thread(myThread1);
        t.start();
        System.out.println("hello main");
    }
}
